package com.qiandw.security

import org.springframework.security.core.userdetails.{UserDetails, UserDetailsService}
import org.springframework.stereotype.Component

@Component
class MemberUserDetailsService extends UserDetailsService {

  override def loadUserByUsername(username: String): UserDetails = {

    new MemberUserDetails(username)

  }

}
